local extension = Package:new("wenhe_yanbing", Package.SpecialPack)
local prefix = "packages.wenhe_yanbing.pkg."

-- 加载翻译
Fk:loadTranslationTable(require "packages.wenhe_yanbing.pkg.translation" )

-- 添加游戏模式
extension:addGameMode(require "packages.wenhe_yanbing.pkg.gamemodes.wenhe_yanbing")

-- 注册为桌游
Fk:addBoardGame {
  name = "wenhe_yanbing",
  engine = require "packages.wenhe_yanbing.wenhe_yanbing",
  client_klass = require "packages.wenhe_yanbing.wenhe_yanbing.client.client",
  room_klass = require "packages.wenhe_yanbing.wenhe_yanbing.server.room",
  page = {
    url = "packages/wenhe_yanbing/Fk/Pages/WenheYanbing/Room.qml",
  },
}

return {
  extension,
}